package com.ruoyi.ybUpload.domain.tableCode;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 追溯码明细表对象 trace_code_detail
 *
 * @author wkw
 * @date 2024-08-07
 */
public class TraceCodeDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 主表关联ID */
    @Excel(name = "主表关联ID")
    private Long mainId;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String ypName;

    /** 药品编码 */
    @Excel(name = "药品编码")
    private String ypCode;

    /** 生产批号 */
    @Excel(name = "生产批号")
    private String manuLotnum;

    /** 批次流水号 */
    @Excel(name = "批次流水号")
    private String fixmedinsBchno;

    /** 追溯码 */
    @Excel(name = "追溯码")
    private String traceCode;

    /** 上传标志 */
    @Excel(name = "上传标志")
    private Long uploadFlag;

    private String drug_trac_codg;

    public String getDrug_trac_codg() {
        return drug_trac_codg;
    }

    public void setDrug_trac_codg(String drug_trac_codg) {
        this.drug_trac_codg = drug_trac_codg;
    }

    /** 删除标志 */
    private Long delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMainId(Long mainId)
    {
        this.mainId = mainId;
    }

    public Long getMainId()
    {
        return mainId;
    }
    public void setYpName(String ypName)
    {
        this.ypName = ypName;
    }

    public String getYpName()
    {
        return ypName;
    }
    public void setYpCode(String ypCode)
    {
        this.ypCode = ypCode;
    }

    public String getYpCode()
    {
        return ypCode;
    }
    public void setManuLotnum(String manuLotnum)
    {
        this.manuLotnum = manuLotnum;
    }

    public String getManuLotnum()
    {
        return manuLotnum;
    }
    public void setFixmedinsBchno(String fixmedinsBchno)
    {
        this.fixmedinsBchno = fixmedinsBchno;
    }

    public String getFixmedinsBchno()
    {
        return fixmedinsBchno;
    }
    public void setTraceCode(String traceCode)
    {
        this.traceCode = traceCode;
    }

    public String getTraceCode()
    {
        return traceCode;
    }
    public void setUploadFlag(Long uploadFlag)
    {
        this.uploadFlag = uploadFlag;
    }

    public Long getUploadFlag()
    {
        return uploadFlag;
    }
    public void setDelFlag(Long delFlag)
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("mainId", getMainId())
                .append("ypName", getYpName())
                .append("ypCode", getYpCode())
                .append("manuLotnum", getManuLotnum())
                .append("fixmedinsBchno", getFixmedinsBchno())
                .append("traceCode", getTraceCode())
                .append("uploadFlag", getUploadFlag())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
